package cn.iocoder.yudao.module.nmkj.controller.admin.useraccess.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 访客消息新增/修改 Request VO")
@Data
public class UserAccessSaveReqVO {

    @Schema(description = "消息ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "24179")
    private Long id;

    @Schema(description = "访客姓名", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @NotEmpty(message = "访客姓名不能为空")
    private String name;

    @Schema(description = "手机号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "手机号不能为空")
    private String phone;

    @Schema(description = "所在地", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "所在地不能为空")
    private String address;

    @Schema(description = "访客留言", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "访客留言不能为空")
    private String content;

    @Schema(description = "审核状态", example = "2")
    private Integer status;

}